package cn.jinjimi.app.main.fragment;

import android.os.Bundle;

import cn.jinjimi.app.bean.Constants;

/**
 *
 * @author zhenhua
 * @date 2018/2/2
 */

public class CertFragment extends MainWebViewFragment {
    private long mLastRefreshTime;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void onResume() {
        super.onResume();
        if (mLastRefreshTime + Constants.SECOND_5 < System.currentTimeMillis()) {
            mLastRefreshTime = System.currentTimeMillis();
            reload();
        }

    }
}
